package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.pojo.Permission;
import com.itheima.health.pojo.User;

import java.util.List;

public interface PermissionService {

    PageResult pageQuery(Integer currentPage, String queryString, Integer pageSize);

    void add(Permission permission, List<Integer> roleIds);

    void update(Permission permission);

    Permission findById(Integer id);

    List<Permission> selectAll();

    void delete(Integer id);
}
